﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    public static class PageExceptionCode
    {
        public const string InValidParam = "FAS-Page-1001";
        public const string NullException = "FAS-Page-1002";
        public const string GetDataFailed = "FAS-Page-1003";

        public const string SaveFailed = "FAS-Page-2001";
        public const string DeleteFailed = "FAS-Page-2002";
        public const string UpdateFailed = "FAS-Page-2003";
        public const string GetFailed = "FAS-Page-2004";
        public const string ExportFailed = "FAS-Page-2005";
        public const string ImportFailed = "FAS-Page-2006";
        public const string DeserializeFailed = "FAS-Page-2007";
        public const string SerializeFailed = "FAS-Page-2008";

        public const string GetDependencysFailed = "FAS-Page-2010";
        public const string UpdateDependencyFailed = "FAS-Page-2011";
        public const string GetUpdateSetFailed = "FAS-Page-2012";
        public const string ValidateFailed = "FAS-Page-2013";

        public const string GetPageTemplateFailed = "FAS-Page-3001";
        public const string GetPageTemplateGroupsFailed = "FAS-Page-3001";
        public const string GetPageTemplateListFailed = "FAS-Page-3002";
        public const string GetSystemPageTemplateFailed = "FAS-Page-3003";
        public const string CreatePageTemplateFailed = "FAS-Page-3004";

        public const string CreatePageFailed = "FAS-Page-4001";
        public const string CreateListFailed = "FAS-Page-4002";
        public const string CreateCardFailed = "FAS-Page-4003";
        public const string CreateHelpFailed = "FAS-Page-4004";
        public const string GetMetaDataFailed = "FAS-Page-4005";
        public const string GetProjectTreeFailed = "FAS-Page-4006";

        public const string RefreshFailed = "FAS-Page-5001";
        public const string UpgradeFailed = "FAS-Page-6001";

        public const string UnKnown = "FAS-Page-500";
        public const string UnFounded = "FAS-Page-404";
        public const string NeedAuth = "FAS-Page-403";
    }
}
